<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"   
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html">
    <body>
        <ui:composition>

            <br/>
            <br/>
            <br/>
            <br/>
            <br/><br/><br/><br/><br/><br/>
            <br/>
            <br/>
            <h:link outcome="pretty:browse">Browse</h:link>
            |
            <h:link outcome="pretty:categories">Categories</h:link>
            <h:panelGroup  rendered="#{userController.loggedIn}">
                |
                <h:link outcome="pretty:upload">Upload</h:link>
                |
                <h:link outcome="pretty:profile">My profile</h:link>
            </h:panelGroup>

            <h:panelGroup  rendered="#{userController.isAdmin}">
                | Admin:
                <h:link outcome="pretty:log">Show log</h:link>
            </h:panelGroup>

        </ui:composition>
    </body>
</html>